package com.binguo.wxapi.form.aiyouwei;



import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;


@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class SaveOrderForm {

    //订单id
    private String orderId;
    //用户id
    private Integer customerId;
    //分店id
    private Integer branchId;
    //餐盘所在格子号
    private String cellNo;
    //商户id
    private Integer shopId;
    //取餐码
    private String mealCode;
    //取餐柜对应id
    private String sideBoardId;
    //卡号
    private String cardNo;
    //人脸图片base64
    private String img64;
    //是否客户
    private String isCustomer;
    //取餐柜id
    private Integer cashierDeskId;
    //支付类型
    private Integer payType;

    private String phone;

    private String customerCode;

    private Integer sideBranchId;

    private Integer type;

    private String orderUrl;

    private boolean warm;

    private String orderDetailUrl;

    private List<String> orderIds;

    private String shopPhone;
    /**
     *  1为餐柜
     */
    private Integer orgin;

    private Integer action;

    private String appId;

    private String sign;

    private String host;

    private String zsdOrderId;

//    public  SaveOrderForm(){
//
//    }

//    public SaveOrderForm (String orderId,Integer customerId,Integer branchId,String cellNo,Integer shopId,String mealCode,
//                           String sideBoardId,String cardNo,String img64,String isCustomer,Integer cashierDeskId,Integer payType,
//                           String phone,String customerCode,Integer sideBranchId,Integer type,String orderUrl,Boolean warm,
//                          String orderDetailUrl,List<String> orderIds,String shopPhone,Integer orgin){
//        if(orderId != null){
//            this.orderId = orderId;
//        }if(customerId != null){
//            this.customerId = customerId;
//        }if(branchId != null){
//            this.branchId = branchId;
//        }if(cellNo != null){
//            this.cellNo = cellNo;
//        }if(shopId != null){
//            this.shopId = shopId;
//        }if(mealCode != null){
//            this.mealCode = mealCode;
//        }if(sideBoardId != null){
//            this.sideBoardId = sideBoardId;
//        }if(cardNo != null){
//            this.cardNo = cardNo;
//        }if(img64 != null){
//            this.img64 = img64;
//        }if(isCustomer != null){
//            this.isCustomer = isCustomer;
//        }if(cashierDeskId != null){
//            this.cashierDeskId = cashierDeskId;
//        }if(payType != null){
//            this.payType = payType;
//        }if(phone != null){
//            this.phone = phone;
//        }if(customerCode != null){
//            this.customerCode = customerCode;
//        }if(sideBranchId != null){
//            this.sideBranchId = sideBranchId;
//        }
//        if(type != null){
//            this.type = type;
//        }if(orderUrl != null){
//            this.orderUrl = orderUrl;
//        }
//        if(warm != null){
//            this.warm = warm;
//        }if(orderDetailUrl != null){
//            this.orderDetailUrl = orderDetailUrl;
//        }if(orderIds != null){
//            this.orderIds = orderIds;
//        }if(shopPhone != null){
//            this.shopPhone = shopPhone;
//        }if(orgin != null){
//            this.orgin = orgin;
//        }else{
//            this.orgin = 0;
//        }
//
//    }

}
